$OpenBSD: patch-QMobipocketConfig_cmake,v 1.1 2014/07/09 20:03:24 zhuk Exp $
Allow QMobipocket to be found.
--- QMobipocketConfig.cmake.orig	Tue Nov  5 00:42:18 2013
+++ QMobipocketConfig.cmake	Sat Jul  5 19:34:06 2014
@@ -1,15 +1,11 @@
-get_filename_component( _currentDir  ${CMAKE_CURRENT_LIST_FILE} PATH)
-get_filename_component( _currentDir  ${_currentDir} PATH)
-get_filename_component( _currentDir  ${_currentDir} PATH)
-get_filename_component( _currentDir  ${_currentDir} PATH)
 
 # find the full paths to the library and the includes:
 find_path(QMOBIPOCKET_INCLUDE_DIR qmobipocket/mobipocket.h
-          HINTS ${_currentDir}/include
+          HINTS "@KDE4_INCLUDE_INSTALL_DIR@"
           NO_DEFAULT_PATH)
 
 find_library(QMOBIPOCKET_LIBRARY qmobipocket 
-             HINTS ${_currentDir}/lib
+             HINTS "@KDE4_LIB_INSTALL_DIR@"
              NO_DEFAULT_PATH)
 
 set(QMOBIPOCKET_LIBRARIES ${QMOBIPOCKET_LIBRARY})
